package com.cs.common.init.beans;

/**
 * Data init load entity
 * @version 1.0 
 * @date  2008-10-15
 * @author jdelgado
 */

public class InitLoadBean {
	/** Start to string label */
	private static final String START_TOSTRING_LABEL = "InitLoadBean -->";
	/** Code label */
	private static final String CODE_LABEL = "Code: ";
	/** Class name label */
	private static final String CLASS_NAME_LABEL = "; Class name: ";
	/** Xml data path label */
	private static final String XML_DATA_LABEL = "; XML Data : ";
	/** Xml rules path label */
	private static final String XML_RULES_LABEL = "; XML Rules : ";
	/** End to string label */
	private static final String END_TOSTRING_LABEL = "<--";
	/** Code */
	private String code;
	/** Init Load Class Name */
	private String className;
	/** Xml data path */
	private String xmlData;
	/** Xml rules path */
	private String xmlRules;
	/**
	 * Gets code
	 * @return code
	 */
	public String getCode() {
		return code;
	}
	/**
	 * Sets code
	 * @param code
	 */
	public void setCode(String code) {
		this.code = code;
	}
	/**
	 * Gets class name
	 * @return <String> class name
	 */
	public String getClassName() {
		return className;
	}
	/**
	 * Sets class name
	 * @param class name
	 */
	public void setClassName(String className) {
		this.className = className;
	}
	/**
	 * Gets xml data path
	 * @return <String> xml data path
	 */
	public String getXmlData() {
		return xmlData;
	}
	/**
	 * Sets xml data path
	 * @param xmlData xml data path
	 */
	public void setXmlData(String xmlData) {
		this.xmlData = xmlData;
	}
	/**
	 * Gets xml rules path
	 * @return <String> xml rules path
	 */
	public String getXmlRules() {
		return xmlRules;
	}
	/**
	 * Sets xml rules path
	 * @param xmlRules xml rules path
	 */
	public void setXmlRules(String xmlRules) {
		this.xmlRules = xmlRules;
	}
	/**
	 * Convert this class to its string representation
	 * @return <String> string representation
	 */
	public String toString(){
		StringBuffer StringBuffer = new StringBuffer(0);
		StringBuffer.append(START_TOSTRING_LABEL);
		StringBuffer.append(CODE_LABEL);
		StringBuffer.append(getCode());
		StringBuffer.append(CLASS_NAME_LABEL);
		StringBuffer.append(getClassName());
		StringBuffer.append(XML_DATA_LABEL);
		StringBuffer.append(getXmlData());
		StringBuffer.append(XML_RULES_LABEL);
		StringBuffer.append(getXmlRules());
		StringBuffer.append(END_TOSTRING_LABEL);
		return StringBuffer.toString();
	}
}